package com.lenovo.spider.support.cookie;

import okhttp3.Cookie;
import okhttp3.HttpUrl;

import java.util.List;

/**
 * @author <a href="mailto:liuhan3@lenovo.com">HanL(liuhan3)</a>
 * on 2018/3/29 18:05
 */
public interface CookieStore {

    void appendCookie(HttpUrl url, List<Cookie> cookies);

    List<Cookie> getCookies(HttpUrl url);

}
